package com.ydh.company.pojo;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.sql.Timestamp;

@ApiModel(value = "Client客户表的实体")
public class Client {

  @ApiModelProperty(name = "clientId",notes = "客户id（客户编码）uuid",dataType = "String",required = true)
  private String clientId;

  @ApiModelProperty(name = "clientCompany",notes = "客户公司",dataType = "String",required = true)
  private String clientCompany;

  @ApiModelProperty(name = "clientLevelId",notes = "客户级别",dataType = "int",required = true)
  private int clientLevelId;

  @ApiModelProperty(name = "username",notes = "登录账号",dataType = "String",required = true)
  private String username;

  @ApiModelProperty(name = "password",notes = "密码",dataType = "String",required = true)
  private String password;

  @ApiModelProperty(name = "repositoryId",notes = "发货仓库id",dataType = "String",required = true)
  private String repositoryId;

  @ApiModelProperty(name = "deptId",notes = "所在部门的id",dataType = "String",required = true)
  private String deptId;

  @ApiModelProperty(name = "clientName",notes = "联系人",dataType = "String",required = true)
  private String clientName;

  @ApiModelProperty(name = "clientTel",notes = "电话",dataType = "String",required = true)
  private String clientTel;

  @ApiModelProperty(name = "createTime",notes = "创建时间",dataType = "String",required = true)
  private Timestamp createTime;

  @ApiModelProperty(name = "stateId",notes = "状态（1：开通  2;禁用）",dataType = "int",required = true)
  private int stateId;

  @ApiModelProperty(name = "clientAddress",notes = "公司地址",dataType = "String")
  private String clientAddress;

  @ApiModelProperty(name = "condition",notes = "条件实体类对象",dataType = "Condition")
  private Condition condition;

  @ApiModelProperty(name = "fiance",notes = "财务实体类对象",dataType = "Fiance")
  private Fiance fiance;

  public Fiance getFiance() {
    return fiance;
  }

  public void setFiance(Fiance fiance) {
    this.fiance = fiance;
  }

  public Condition getCondition() {
    return condition;
  }

  public void setCondition(Condition condition) {
    this.condition = condition;
  }

  public String getClientId() {
    return clientId;
  }

  public void setClientId(String clientId) {
    this.clientId = clientId;
  }


  public String getClientCompany() {
    return clientCompany;
  }

  public void setClientCompany(String clientCompany) {
    this.clientCompany = clientCompany;
  }


  public int getClientLevelId() {
    return clientLevelId;
  }

  public void setClientLevelId(int clientLevelId) {
    this.clientLevelId = clientLevelId;
  }


  public String getUsername() {
    return username;
  }

  public void setUsername(String username) {
    this.username = username;
  }


  public String getPassword() {
    return password;
  }

  public void setPassword(String password) {
    this.password = password;
  }


  public String getRepositoryId() {
    return repositoryId;
  }

  public void setRepositoryId(String repositoryId) {
    this.repositoryId = repositoryId;
  }


  public String getDeptId() {
    return deptId;
  }

  public void setDeptId(String deptId) {
    this.deptId = deptId;
  }


  public String getClientName() {
    return clientName;
  }

  public void setClientName(String clientName) {
    this.clientName = clientName;
  }


  public String getClientTel() {
    return clientTel;
  }

  public void setClientTel(String clientTel) {
    this.clientTel = clientTel;
  }


  public Timestamp getCreateTime() {
    return createTime;
  }

  public void setCreateTime(Timestamp createTime) {
    this.createTime = createTime;
  }


  public int getStateId() {
    return stateId;
  }

  public void setStateId(int stateId) {
    this.stateId = stateId;
  }


  public String getClientAddress() {
    return clientAddress;
  }

  public void setClientAddress(String clientAddress) {
    this.clientAddress = clientAddress;
  }


  @Override
  public String toString() {
    return "Client{" +
            "clientId='" + clientId + '\'' +
            ", clientCompany='" + clientCompany + '\'' +
            ", clientLevelId=" + clientLevelId +
            ", username='" + username + '\'' +
            ", password='" + password + '\'' +
            ", repositoryId='" + repositoryId + '\'' +
            ", deptId='" + deptId + '\'' +
            ", clientName='" + clientName + '\'' +
            ", clientTel='" + clientTel + '\'' +
            ", createTime=" + createTime +
            ", stateId=" + stateId +
            ", clientAddress='" + clientAddress + '\'' +
            ", condition=" + condition +
            ", fiance=" + fiance +
            '}';
  }
}
